﻿using WorkflowCore.Interface;

namespace B.S.BaseData.Read.Api.Application.CommandHander.Workflow
{
    public class HelloWorldWorkflow : IWorkflow
    {
        public string Id => "HelloWorld";
        public int Version => 1;
        public void Build(IWorkflowBuilder<object> builder)
        {
            builder
            .StartWith<StartStep>()
            .Then<AuditStep>()
            .Then<EndStep>();
        }
    }
}
